package main

import (
	"log"
	"wths/wthsjy-im/server"
)

func main() {
	svr := server.NewImServer(&server.SvrConfig{
		WithKCP:       true,
		GNetMulticore: true,
		HandlerFunc:   &server.MyHandler{},
		Port:          ":9000",
	})

	go svr.Monitor()
	svr.Run()

	log.Fatal()
}
